<?php
/* @var $this MonhocController */
/* @var $model Monhoc */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'monhoc-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Điền đầy đủ vào vị trí có dấu <span class="required">*</span>.</p>

	<?php echo $form->errorSummary($model); ?>
	<table>
	<div class="row">
	<tr>
		<td style="width:20%"><?php echo $form->labelEx($model,'mamh'); ?></td>
		<td><?php echo $form->textField($model,'mamh',array('size'=>60,'maxlength'=>128)); ?></td>
		<td><?php echo $form->error($model,'mamh'); ?></td>
	</tr>
	</div>

	<div class="row">
	<tr>
		<td><?php echo $form->labelEx($model,'tenmh'); ?></td>
		<td><?php echo $form->textField($model,'tenmh'); ?></td>
		<td><?php echo $form->error($model,'tenmh'); ?></td>
	</tr>
	</div>

	<?php
		$sotinchi=array();
		for($i=1;$i<=15;$i++)
			$sotinchi[$i]=$i;
	?>
	<div class="row">
	<tr>
		<td><?php echo $form->labelEx($model,'soTC'); ?></td>
		<td><?php echo $form->dropDownList($model,'soTC',$sotinchi,array('empty'=>'')); ?></td>
		<td><?php echo $form->error($model,'soTC'); ?></td>
	</tr>
	</div>

	<div class="row">
	<tr>
		<td><?php echo $form->labelEx($model,'sotietLT'); ?></td>
		<td><?php echo $form->dropDownList($model,'sotietLT',array('0'=>'0','15'=>'15','30'=>'30','45'=>'45','60'=>'60')); ?></td>
		<td><?php echo $form->error($model,'sotietLT'); ?></td>
	</tr>
	</div>

	<div class="row">
	<tr>
		<td><?php echo $form->labelEx($model,'sotietTH'); ?></td>
		<td><?php echo $form->dropDownList($model,'sotietTH',array('0'=>'0','15'=>'15','30'=>'30','45'=>'45','60'=>'60')); ?></td>
		<td><?php echo $form->error($model,'sotietTH'); ?></td>
	</tr>
	</div>

	<div class="row">
	<tr>
		<td><?php echo $form->label($model,'ghichu'); ?></td>
		<td><?php echo $form->textField($model,'ghichu',array('rows'=>6, 'cols'=>50)); ?></td>
		<td><?php echo $form->error($model,'ghichu'); ?></td>
	</tr>
	</div>
</table>
	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Tạo mới' : 'Lưu'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->